export const methodTypes = [
    {value: 'GET', title: '', type: 'primary'},
    {value: 'POST', title: '', type: 'success'},
    {value: 'PUT', title: '', type: 'warning'},
    {value: 'DELETE', title: '', type: 'danger'},
];

export const getMethodType = (value) => {
    return methodTypes.find(v => v.value === value)
}